/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.cx1.web.utils;

import org.apache.commons.lang.RandomStringUtils;

/**
 *
 * @author ECH
 */
public class PasswordGen {
    
    public static String generatePassworf() {
        String password = "QWyu79";
        try {
            password = RandomStringUtils.random(6, true, false).toUpperCase();
        } catch (Exception ex) {
            
        }
        return password;
    }
    
    public static void main (String[] argv) {
        //for (int i = 0; i < 100; i++)
        System.out.println("CX: " + RandomStringUtils.random(6, true, false).toUpperCase());
    }
    
}
